package com.ershi.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 阿里云对象存储服务
 *
 * @author yinhuidong3@xiaomi.com
 * @since 2021/7/21
 */
@SpringBootConfiguration
@Slf4j
@ConfigurationProperties(prefix = "aliyun.oss")
@Data
public class AliyunOssConfig {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;
}
